package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DisappearalarmDao;
import io.renren.entity.Disappearalarm;
import io.renren.service.DisappearalarmService;



@Service("disappearalarmService")
public class DisappearalarmServiceImpl implements DisappearalarmService {
	@Autowired
	private DisappearalarmDao disappearalarmDao;
	
	@Override
	public Disappearalarm queryObject(Integer id){
		return disappearalarmDao.queryObject(id);
	}
	
	@Override
	public List<Disappearalarm> queryList(Map<String, Object> map){
		return disappearalarmDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return disappearalarmDao.queryTotal(map);
	}
	
	@Override
	public void save(Disappearalarm disappearalarm){
		disappearalarmDao.save(disappearalarm);
	}
	
	@Override
	public void update(Disappearalarm disappearalarm){
		disappearalarmDao.update(disappearalarm);
	}
	
	@Override
	public void delete(Integer id){
		disappearalarmDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		disappearalarmDao.deleteBatch(ids);
	}
	
}
